package br.com.unitunes.model;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.PrimaryKeyJoinColumn;

@Entity(name="PODCAST")
@PrimaryKeyJoinColumn(name = "PODCAST_ID", referencedColumnName = "EXECUTAVEL_ID")
public class Podcast extends Executavel {
	
	@Enumerated(EnumType.STRING)
	private CategoriaPodcast categoria;

	public CategoriaPodcast getCategoria() {
		return categoria;
	}

	public void setCategoria(CategoriaPodcast categoria) {
		this.categoria = categoria;
	}
	
}
